package com.ccut.xunfeiSpringboot.service;

import com.ccut.xunfeiSpringboot.entity.CalendarEvent;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.net.MalformedURLException;
import java.security.SignatureException;
import java.util.List;

public interface CalendarEventService {
    void addByAI(String data, Integer userId, HttpServletResponse response) throws IOException, SignatureException, InterruptedException;

    List<CalendarEvent> getAll(Integer userId);

    void add(CalendarEvent calendarEvent);
}
